extends "../zhala-2/zhala-2.gd"

func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("本回合内，每次炮击提高自身2%暴击、爆伤、吸血(上限100%)", "主炮校正")
var p3 = 0.02
func _onNormalAtk(cha):
	._onNormalAtk(cha)
	var bf = hasBuff("b_zl_zpjz")
	if bf == null:
		bf = addBuff(b_zl_zpjz.new())
	elif bf.att.cri < 1:
		bf.att.cri += p3
		bf.att.criR += p3
		bf.att.suck += p3

class b_zl_zpjz:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init():
		attInit()
		buffName = "主炮校正"
		dispel = 2
		id = "b_zl_zpjz"	
		att.cri = 0.03
		att.criR = 0.03
		att.suck = 0.03